package com.mindpointeye.websockt

/**
 * 类简要描述
 * <p/>
 * <p>
 * 类详细描述
 * </p>
 *
 * @author zhaozeyang
 * @date 2/2/21
 */
interface IWebSocketManager {
  fun createSocketClient(
    url: String,
    listener: IWebSocketListener? = null
  )

  fun connect()
  fun closeConnect()
  fun sendMessage(msg: String)
  fun sendMessage(msg: ByteArray?)
  fun isClosed():Boolean
  fun reconnect()
}